package com.arsProfundis.dal.contracts

trait AbstractDao[T, ID <: AnyRef]{
	
	def insert(entity: T): Either[Exception, String] 
	def save(entity: T): Option[Exception]
	def delete(id: ID): Option[Exception]
	def getById(id: ID): Either[Exception, Option[T]]
}